<template>
  <div>
    <div v-text="str"></div>
    <div v-html="str"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      str: "<span>我是一个标签</span>",
    };
  },
};
</script>

<style>
</style>